package com.learn.hibernatevalidator.chapter09;

import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Past;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author: liyf
 * @create: 2025-01-19 21:37
 **/
@Data
public class Car {

    @NotNull
    private String manufacturer;


    @Past
    private LocalDateTime createTime;
}
